package Test_0711;

import java.beans.beancontext.BeanContextChild;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-07-11
 * Time: 15:23
 */
public class Test_0711 {
    public static void main(String[] args) {
            int[] array=new int[]{1,2,3};
            int[] array1=new int[]{4,5,6};
            array=array1;
            for(int x:array1){
                System.out.print(x+" ");//4,5,6
            }
            array1[0]=11;
        System.out.println(array1[0]);//11
        System.out.println(array[0]);//11
    }
}
